package com.javase.实验七_面向对象5.练习包和访问控制符的应用;

import com.javase.实验七_面向对象5.练习包和访问控制符的应用.man.*;
import com.javase.实验七_面向对象5.练习包和访问控制符的应用.women.*;
public class Right00 {

    public static void main(String args[]){
        Man_1 m1=new Man_1();
        Man_2 m2=new Man_2();
        Woman_1 w1=new Woman_1();
        Woman_2 w2=new Woman_2();

        m1.access();
        System.out.println();
        m2.access();
        System.out.println();
        w1.access();
        System.out.println();
        w2.access();
        System.out.println();
    }

}
